<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ include file="../Include/Config.jsp"%>
<html>
<head>
<title>Web Ram Program</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<link href="ram/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery-1.7.1.js"></script>
<script type="text/javascript">
  $(function(){
  	<logic:messagesPresent message="true">
	  <html:messages message="true" id="msg">
	    var msgs = '<bean:write name="msg" />'; 
      msgs = msgs.replace(/\?/g, '');
      msgs = msgs.replace(/en_US./g, '');
      msgs = msgs.replace(/ko_KR./g, '');
      if(msgs.search("성공") > 0){
      	alert(msgs);
      }
	  </html:messages>
  </logic:messagesPresent>
  });
</script>

</head>
 
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>
<!----- header ----------->
<%@ include file="../Include/Header.jsp"%>
<!----- header end ----------->



</td>
  </tr>
  <tr>
    <td>            <div align="left">
<table width="1251" border="0" cellpadding="0" cellspacing="0">
        <tr valign="top">
          <td width="180" height="473">
<!----- left ----------->
<%@ include file="../Include/Mypage_Left.jsp"%>

<!----- left ----------->
		  

</td>
          <td width="20">&nbsp;</td>
          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td><!-----<table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td height="30" align="center" bgcolor="#333333"><font color="#FFFFFF"><strong>Mypage</strong></font></td>
                    </tr>
                    <tr> 
                      <td height="1" bgcolor="f44901"></td>
                    </tr>
                    <tr> 
                      <td bgcolor="#f4f4f4"><table width="100%" border="0" cellspacing="0" cellpadding="10">
                          <tr> 
                            <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr> 
                                                                    <td height="22">ㆍ개인 정보 수정 페이지 입니다.</td>
                                </tr>
                              </table></td>
                          </tr>
                        </table></td>
                    </tr>
                  </table>--->
				<img src="ram/images/mypage-view.jpg">  
				  </td>
              </tr>
              <tr> 
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td height="25"><font color="DF432D">*</font> 표시는 필수입력사항입니다.</td>
              </tr>
              <tr> 
                <form method="post"  name="joinForm" action="mypage-submit.do" enctype="multipart/form-data" onsubmit="return check();">
                <input type="hidden" name="method" value="update">
                <html:hidden property="memOk" name="memberData"/>
                <html:hidden property="memLevel" name="memberData"/>
                  <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr> 
                        <td bgcolor="#dddddd"><table width="100%" border="0" cellspacing="1" cellpadding="5">
                            <tr bgcolor="#FFFFFF"> 
                              <td width="120" height="30" bgcolor="#F4F4F4"> 
                                    성명
                                <font color="DF432D">*</font>
                              </td>
                              <td>
                                <!-- <input name="adminName" type="text" size="20" maxlength="30" value="알파" class="grayform"> -->
                                <html:text name="memberData"  property="memName" styleClass="grayform" size="20" maxlength="30" />
                              </td>
                            </tr>
                            <tr bgcolor="#FFFFFF"> 
                              <td height="30" bgcolor="#F4F4F4">
                                ID <font color="DF432D">*</font>
                              </td>
                              <td height="28" valign="middle">
                                <bean:write name="memberData" property="memId"/>
                                <html:hidden name="memberData" property="memId"/>
                              </td>
                            </tr>
                            <tr bgcolor="#FFFFFF"> 
                              <td height="30" bgcolor="#F4F4F4">비밀번호 <font color="DF432D">*</font></td>
                              <td>
                                <html:password name="memberData" property="memPw" styleClass="grayform" size="20" maxlength="10" ></html:password>
                              </td>
                            </tr>
                           
                            <tr bgcolor="#FFFFFF"> 
                              <td height="30" bgcolor="#F4F4F4">회사명 <font color="DF432D">*</font></td>
                              <td>
                                <!-- <input name="adminCompany" type="text" size="20" maxlength="50" value="TSEST" > -->
                                <html:text name="memberData" property="memCompany" size="20" maxlength="10" styleClass="grayform" />
                              </td>
                            </tr>
                            <tr bgcolor="#FFFFFF"> 
                              <td height="30" bgcolor="#F4F4F4">이메일 <font color="DF432D">*</font></td>
                              <td>
                                <!-- <input name="email" type="text" size="60" value="alpha21@HANMAIL.NET" class="grayform"> -->
                                <html:text name="memberData" property="memEmail" size="60" styleClass="grayform" />
                              </td>
                            </tr>
                            <tr bgcolor="#FFFFFF"> 
                              <td height="30" bgcolor="#F4F4F4">전화번호 <font color="DF432D">*</font></td>
                              <td>
                                <html:text name="memberData" property="memTel" size="60" maxlength="20" styleClass="grayform" />
                                <!-- <input name="tel1" type="text" size="4" value="053" maxlength="4" class="grayform">
                                - 
                                <input name="tel2" type="text" size="4" value="741" maxlength="4" class="grayform">
                                - 
                                <input name="tel3" type="text" size="4" value="8604" maxlength="4" class="grayform"></td> -->
                            </tr>
                            <tr bgcolor="#FFFFFF"> 
                              <td height="30" bgcolor="#F4F4F4">주소 <font color="DF432D">*</font></td>
                              <td>
                                <!-- <input name="adminAddr" type="text" size="60" value="서울 일산구" class="grayform"> -->
                                <html:text name="memberData" property="memAddress" size="60" styleClass="grayform" />
                              </td>
                            </tr>
                          </table></td>
                      </tr>
                      <tr> 
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td height="30" align="center">
                          <input name="image" type="image" style="border:none;" src="ram/images/ok.jpg" align="absmiddle">
                        </td>
                      </tr>
                    </table></td>
                </form>
              </tr>
              <tr> 
                <td>&nbsp;</td>
              </tr>
              <tr> 
                <td>&nbsp;</td>
              </tr>
            </table></td>
        </tr>
      </table>
            </div>
</td>
  </tr>
  <tr>
    <td align="center">
	<%@ include file="../Include/Foot.jsp"%>

</td>
  </tr>
</table>
</body>
</html>

